<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>

<div class="right">
	<div class="location">
		<strong>你现在所在的位置是:</strong> <span>招聘管理页面</span>
	</div>
	<div class="search">
		<form method="get"
			action="${pageContext.request.contextPath }/bill/billlist">
			<span>审核状态：</span> <select name="rec_state">
				<option value="0">--请选择--</option>
				<option value="1"}>待审核</option>
				<option value="2"}>审核通过</option>
				<option value="3"}>审核未通过</option>
			</select> <input value="查 询" type="submit" id="searchbutton"> <a
				href="${pageContext.request.contextPath }/bill/addBill">添加招聘人</a>
		</form>
	</div>
	<!--账单表格 样式和供应商公用-->
	<table class="providerTable" cellpadding="0" cellspacing="0">
		<tr class="firstTr">
			<th width="10%">姓名</th>
			<th width="20%">手机号</th>
			<th width="10%">应聘部门</th>
			<th width="10%">应聘岗位</th>
			<th width="10%">应聘来源</th>
			<th width="10%">应聘状态</th>
			<th width="30%">操作</th>
		</tr>
		<c:forEach var="bill" items="${listBill }" varStatus="status">
			<tr>
				<td><span>${bill.rec_name }</span></td>
				<td><span>${bill.rec_phone }</span></td>
				<td><span>${bill.depName}</span></td>
				<td><span>${bill.jobName}</span></td>
				<td><span>${bill.rec_source}</span>
				<td><span>${bill.state}</span></td>


				<td><span><a class="viewBill" href="javascript:;"
						rec_id=${bill.rec_id }><img
							src="${pageContext.request.contextPath }/statics/images/read.png"
							alt="查看" title="查看" /></a></span> <span><a class="modifyBill"
						href="javascript:;" rec_id=${bill.rec_id }><img
							src="${pageContext.request.contextPath }/statics/images/xiugai.png"
							alt="修改" title="修改" /></a></span> <span><a class="deleteBill"
						href="javascript:;" rec_id=${bill.rec_id }
						billcc=${bill.rec_name }><img
							src="${pageContext.request.contextPath }/statics/images/schu.png"
							alt="删除" title="删除" /></a></span></td>
			</tr>
		</c:forEach>
	</table>
	<div class="page-bar">
		<p>
			当前页:${pageIndex}/${count}
			<c:if test="${pageIndex > 1}">
				<a href="billlist?pageIndex=1">首页</a>
				<a href="billlist?pageIndex=${pageIndex-1}">上一页</a>
			</c:if>
			<c:if test="${pageIndex < count}">
				<a href="billlist?pageIndex=${pageIndex+1}">下一页</a>
				<a href="billlist?pageIndex=${count}">末页</a>
			</c:if>
		</p>
	</div>
</div>


<!--点击删除按钮后弹出的页面-->

<div class="remove" id="removeBi">
	<div class="removerChid">
		<h2>提示</h2>
		<div class="removeMain">
			<p>你确定要删除该应聘人员信息吗？</p>
			<a href="#" id="yes">确定</a> <a href="#" id="no">取消</a>
		</div>
	</div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>

<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/billlist.js"></script>